﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Новостной портал</title>
    <link rel="stylesheet" href="/css/main.css" type="text/css"/>
</head>
<body>
            <form action="/Editor/DoLogin" method="post"> 
            <input type="text" name="login" value="" />
            <input type="password" name="pass" value="" />
            <input type="submit" name="submit" value="Login" />
            </form>
            <%
                if (ViewData["ErrorMessage"] != null)
                {
                %>
                <div class = "error">
                    <%=ViewData["ErrorMessage"]%>
                </div>
                    <%                    
                }
                %>
</body>
</html>
